home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et-2_2.lha / et2.2 / src / CmdHistDoc.h < prev    next >
C/C++ Source or Header  |  1990-11-28  |  601b  |  30 lines

  1. #ifndef CmdHistDoc_First
  2. #ifdef __GNUG__
  3. #pragma once
  4. #endif
  5. #define CmdHistDoc_First
  6.  
  7. #include "Document.h"
  8.  
  9. //--- CmdHistDocument ----------------------------------------------------------
  10.  
  11. class CmdHistDocument: public Document {
  12.     ObjList *cmdHistory;
  13. public:
  14.     MetaDef(CmdHistDocument);
  15.     CmdHistDocument(const char *doctype= cDocTypeUndef);
  16.     ~CmdHistDocument();
  17.  
  18.     //---- menues
  19.     void DoCreateMenu(class Menu *);
  20.     void DoSetupMenu(class Menu *);
  21.  
  22.     void PerformCommand(Command* cmd);
  23.     void Undo();
  24.     void Redo();
  25.     void DeleteCmdHistory();
  26. };
  27.  
  28. #endif CmdHistDoc_First
  29.  
  30.